﻿#include "form_setting.h"
#include "ui_form_setting.h"
#include "plug_info.h"

#include <nuf_bus_info.h>

#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif


FormSetting::FormSetting(QWidget* parent)
	: QWidget(parent)
	, ui(new Ui::FormSetting)
{
	ui->setupUi(this);
    
    
    NufBusSetting::loadSetting();
    PlugInfo::loadSetting() ;

	ui->widget_1->board_id = 1;

	ui->widget_2->board_id = 2;
	ui->widget_3->board_id = 3;
	ui->widget_4->board_id = 4;
	ui->widget_5->board_id = 5;
	ui->widget_6->board_id = 6;
	ui->widget_7->board_id = 7;
	ui->widget_8->board_id = 8;
	ui->widget_9->board_id = 9;
	ui->widget_10->board_id = 10;
	ui->widget_11->board_id = 11;
	ui->widget_12->board_id = 12;
}


FormSetting::~FormSetting()
{
	delete ui;
}
